package com.mooc.mymooc.dao;

import com.mooc.mymooc.pojo.Admin;
import com.mooc.mymooc.pojo.Banner;

import java.util.List;

public interface AdminDao {
    public Admin findAdmin(Admin admin);

    public Integer addBanner(Banner banner);

    public List<Banner> findAllBanner();

    public Integer updateBanner(Banner banner);
}
